package com.fq.modules.sys.role.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;

/**
 * @Author 超chao
 * @Description 更改角色状态数据传输类
 * @Date 2024/11/25/周一 10:16
 * @Version 1.0
 */
@Data
@ApiModel(value="更改角色状态数据传输类")
public class ChangeRoleStateDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID", required=true)
    @NotBlank(message = "角色ID不能为空")
    private String roleId;
    @ApiModelProperty(value = "角色状态 0启用 1禁用", required=true)
    @NotNull(message = "角色状态不能为空")
    private Integer roleState;
}
